import type { SidebarItem } from '@/types'

export const sidebarItems: SidebarItem[] = [
    {
        name: '首页',
        path: '/',
        icon: 'HomeFilled'
    },
    {
        name: '关于系统',
        path: '/about',
        icon: 'InfoFilled'
    },
    {
        name: '问卷管理',
        path: '/surveys',
        icon: 'Document',
        children: [
            {
                name: '创建问卷',
                path: '/create',
                icon: 'DocumentAdd'
            },
            {
                name: '我的问卷',
                path: '/surveys',
                icon: 'List'
            },
            {
                name: '问卷分析',
                path: '/results',
                icon: 'DataAnalysis'
            }
        ]
    },
    {
        name: '数据管理',
        path: '/data',
        icon: 'DataBoard',
        children: [
            {
                name: '学生信息',
                path: '/student-info',
                icon: 'User'
            },
            {
                name: '学生成绩',
                path: '/scores',
                icon: 'Notebook'
            },
            {
                name: '调查统计',
                path: '/analytics',
                icon: 'TrendCharts'
            }
        ]
    },
    {
        name: '系统设置',
        path: '/settings',
        icon: 'Setting',
        children: [
            {
                name: '用户管理',
                path: '/users',
                icon: 'UserFilled'
            },
            {
                name: '权限设置',
                path: '/permissions',
                icon: 'Lock'
            },
            {
                name: '系统日志',
                path: '/logs',
                icon: 'DocumentCopy'
            }
        ]
    }
]

export const systemTitle = '问卷管理系统'